<!DOCtype html>
<html ng-app="advertiserApp">
	 <head>
	     <meta charset= "utf-8"/>
		 <title>按广告名称统计</title>
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/angular/angular.min.js"></script>
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/jquery/dist/jquery.min.js"></script>		 		 
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/bootstrap/dist/js/bootstrap.min.js"></script>			
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/js/mainApp.js"></script>			 			 
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/controller/advertiserCtrl.js"></script>	        	
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/js/main.js"></script>
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/js/extendPagination.js"></script>
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/controller/adTotalPay/totalByAdName.js"></script>
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
		 <script type="text/javascript" src="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js"></script>				
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/bootstrap/dist/css/bootstrap.min.css" />
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/vendor/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" />
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/styles/table.css" />
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/styles/layout.css" />
		 <link rel="stylesheet" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/styles/main.css" />
		 <link rel="shortcut icon" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/favicon.ico" />
		 <link rel="bookmark" href="/Lvscore_Advertiser_Maven/advertiserWeb/static/favicon.ico" />
	 </head>
	 <script type="text/javascript">
		 	$(function(){
		 		totalByAdName(1,null);
		 		$('.form_datetime').datetimepicker({
				    minView: "month", //选择日期后，不会再跳转去选择时分秒 
				    language:  'zh-CN',
				    format: 'yyyy-mm-dd',
				    todayBtn:  1,
				    autoclose: 1,
				});
		 	})
	 </script>
	 <body ng-controller="advertiserCtrl">	
         <div class="headerBox"></div>
         <div class="nav"><ul></ul></div>
		 <div class="content">
         <!-- begin -->		 
		     <div class="websiteMapBox">
			     <span>当前页面></span>
				 <span>按广告名称统计</span>
			 </div>
			 <div class="form-group form-inline tableForm">
			     <label>起止日期：</label>
				 <input type="text" id="startTime" class="form-control form_datetime"  placeholder=""/>
				 <label>至</label>
				 <input type="text" id="endTime" class="form-control form_datetime"  placeholder=""/>				 
			 </div>
			 <div class="form-group form-inline tableForm">
			     <label>广告名称：</label>
				 <input type="text" class="form-control" id="adName" name="adName"/>				
				 <button class="btn btn-primary" onclick="BytotalAdName(startTime.value,endTime.value,adName.value)">查询</button>
			 </div>			 
		     <table id="totalAdName" class="table table-striped table-bordered table-hover">
			     <tr>
			     	<th>序号</th>
			     	<th>广告名称</th>
			     	<th>广告编号</th>
			     	<th>行业属性</th>
			     	<th>广告形式</th>
			     	<th>投放终端</th>
			     	<th>平均单价</th>
			     	<th>点击次数</th>
			     	<th>广告支出</th>
			     	<th>支出/总支出</th>
			     	<th>总广告预算</th>
			     	<th>支出排名</th>
			     	<th>操作</th>
			     </tr>
			 </table>
			 <div  class="pageBox">
			     <div class="selectPage">
			         <span>转至</span>
				     <input type="text" class="form-control inline-block selectPageInput" name="selectPage"/>
				     <span>页</span>
				     <button class="btn btn-primary">确认</button>
			     </div>
			     
			    <div id="pageBox">
			    
			    </div>
			 </div>
		 </div>	               	 
	 </body>
</html>